home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #12 / Amiga Plus CD - 2002 - No. 12.iso / AmigaOS / Aplus_Dev / AP-Website / download / pgp / pgp5gui-174b.lha / PGP5GUI-Src.lha / PGP5GUI-Src / PGP5GUI.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-23  |  2.9 KB  |  128 lines

  1. /*
  2. ** PGP5GUI - A GUI using Magic User Interface v3.8
  3. **
  4. ** Copyright 23-JUNE-1998 by Stefan Zakarias, All Rights Reserved.
  5. **
  6. ** This source code is released as FREEWARE - Use it for whatever you like,
  7. ** as long as NO financial reward is gained by you for such usage.
  8. **
  9. ** If you use any parts of the this source code for anything, give ME credit
  10. ** wherever credit is due, please ;-)
  11. */
  12.  
  13. #ifndef GUI_FILE_H
  14. #define GUI_FILE_H
  15.  
  16. /* Types */
  17. #include <exec/types.h>
  18. struct ObjApp
  19. {
  20.     APTR    App;
  21.     APTR    WI_Main;
  22.     APTR    GR_Functions;
  23.     APTR    CY_Encrypt_MODE;
  24.     APTR    CY_Encrypt_USEARMOR;
  25.     APTR    CY_Encrypt_TEXTMODE;
  26.     APTR    CY_Encrypt_CLIP;
  27.     APTR    GR_Enc_File;
  28.     APTR    STR_PA_Encrypt_FROMFILE;
  29.     APTR    IM_Pop_Enc;
  30.     APTR    BT_Encrypt_DOIT;
  31.     APTR    CY_Decrypt_OUTTYPE;
  32.     APTR    GR_Dec_File;
  33.     APTR    STR_PA_Decrypt_TOFILE;
  34.     APTR    IM_Pop_Dec;
  35.     APTR    BT_Decrypt_DOIT;
  36.     APTR    CY_Sign_DETACH;
  37.     APTR    CY_Sign_MODE;
  38.     APTR    CY_Sign_TEXTMODE;
  39.     APTR    CY_Sign_CLIP;
  40.     APTR    GR_Sig_File;
  41.     APTR    STR_PA_Sign_POPFILE;
  42.     APTR    IM_Pop_Sig;
  43.     APTR    BT_Sign_DOIT;
  44.     APTR    GR_Keys;
  45.     APTR    CY_KeysAdd_CLIP;
  46.     APTR    GR_Keys_AddFile;
  47.     APTR    STR_PA_Keys_ADD_KEYFILE;
  48.     APTR    IM_Pop_Keys_AddFile;
  49.     APTR    BT_Keys_ADD_KEYADD;
  50.     APTR    BT_Keys_EDIT_KEYCHECK;
  51.     APTR    BT_Keys_EDIT_KEYDISABLE;
  52.     APTR    BT_Keys_EDIT_KEYEDIT;
  53.     APTR    BT_Keys_EDIT_KEYREMOVE;
  54.     APTR    BT_Keys_EDIT_REMOVESIG;
  55.     APTR    BT_Keys_EDIT_REMOVEUID;
  56.     APTR    BT_Keys_EDIT_KEYREVOKE;
  57.     APTR    BT_Keys_EDIT_KEYREVSIG;
  58.     APTR    BT_Keys_EDIT_KEYSIGN;
  59.     APTR    BT_Keys_EDIT_KEYSIGNKEY;
  60.     APTR    BT_Keys_MISC_KEYGEN;
  61.     APTR    BT_Keys_MISC_KEYEXTRACT;
  62.     APTR    BT_Keys_MISC_KEYLIST;
  63.     APTR    BT_Keys_MISC_KEYLIST_UPDATE;
  64.     APTR    GR_Status;
  65.     APTR    TX_Status;
  66.     char *    STR_TX_Status;
  67.     char *    STR_GR_Functions[5];
  68.     char *    CY_Encrypt_MODEContent[4];
  69.     char *    CY_Encrypt_USEARMORContent[3];
  70.     char *    CY_Encrypt_TEXTMODEContent[3];
  71.     char *    CY_Encrypt_CLIPContent[5];
  72.     char *    CY_Decrypt_OUTTYPEContent[7];
  73.     char *    CY_Sign_DETACHContent[3];
  74.     char *    CY_Sign_MODEContent[3];
  75.     char *    CY_Sign_TEXTMODEContent[3];
  76.     char *    CY_Sign_CLIPContent[5];
  77.     char *    STR_GR_Keys[4];
  78.     char *    CY_KeysAdd_CLIPContent[3];
  79. };
  80.  
  81. struct WinConfigs
  82. {
  83.     WORD con_LeftEdge;
  84.     WORD con_TopEdge;
  85.     WORD con_Width;
  86.     WORD con_Height;
  87.     LONG blank;
  88.     ULONG asl_LeftEdge;
  89.     ULONG asl_TopEdge;
  90.     ULONG asl_Width;
  91.     ULONG asl_Height;
  92.     LONG end;
  93. };
  94.  
  95. #define Encrypt_DOIT 1
  96. #define Decrypt_DOIT 2
  97. #define Sign_DOIT 3
  98.  
  99. #define ADD_KEYADD 10
  100.  
  101. #define EDIT_KEYCHECK   20
  102. #define EDIT_KEYDISABLE    21
  103. #define EDIT_KEYEDIT    22
  104. #define EDIT_KEYREMKEY    23
  105. #define EDIT_KEYREMSIG    24
  106. #define EDIT_KEYREMUID  25
  107. #define EDIT_KEYREVOKE    26
  108. #define EDIT_KEYREVSIG    27
  109. #define EDIT_KEYSIGN    28
  110. #define EDIT_KEYSIGNKEY    29
  111.  
  112. #define MISC_KEYGEN        30
  113. #define MISC_KEYEXTRACT    31
  114. #define MISC_KEYLIST    32
  115. #define MISC_KEYLIST_UPDATE    33
  116.  
  117. #define Pop_Enc_File    40
  118. #define Pop_Dec_File    41
  119. #define Pop_Sig_File    42
  120. #define Pop_Keys_AddFile    43
  121.  
  122. #define Enc_FILE_CLIP    50
  123. #define Decrypt_OUTTYPE    51
  124. #define Sig_FILE_CLIP    52
  125. #define AddKeys_FILE_CLIP    53
  126.  
  127. #endif
  128.